home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / A-B / ButtonStax.cpt / Region Buttons / card_5350.txt < prev    next >
Text File  |  1989-02-26  |  839b  |  19 lines

  1. -- card: 5350 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2722
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 14
  9. ----- text -----
  10. In Depth - TestHit (cont)
  11.  
  12. -- part contents for background part 15
  13. ----- text -----
  14. 8
  15.  
  16. -- part contents for background part 13
  17. ----- text -----
  18. In the case of TestHit, <handle> does not strictly need to be enclosed by quotes. Quotes need to be used only if the actual NAME of the variable is needed by the XCMD (as in the case of NewRgn and DisposeRgn, which need the variable's name in order to change its value). However, TestHit just needs to know its VALUE, which is passed if quotes are not used. By using the XCMD routine 'EvalExpr', we can determine the value of the parameter no matter which form is used. However, I suggest that you use the quotes to maintain consistancy. 
  19.